package com.cloud.tsp.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.cloud.api.domain.alarm.Accident;
import com.cloud.api.domain.alarm.QueryAccident;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author haohaibo
 * @since 2023-12-22
 */
public interface AccidentMapper extends BaseMapper<Accident> {

    IPage<Accident> selectAccidentList(IPage<?>page, @Param("c") QueryAccident para);

    List<Accident> selectAccidentListCondition(@Param("c") QueryAccident para);
}